Currency Exchange Rate API (SOAP)
SOAP Service Details
WSDL Link:
https://dev-eur-rcnrka2.apis.roche.com:37564/v1/currencyExchangeRates?wsdl
Note: To access the WSDL we need to pass the username and password. Please check with the team mentioned in support page
Sample Request Payload:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
<soap:Header/>
<soap:Body>
<urn:ExchangeRateSyncOut>
<!--Optional:-->
<Base_Curr>AED</Base_Curr>
<!--Optional:-->
<ExRate_Decimals>5</ExRate_Decimals>
<!--Optional:-->
<ExRate_Type>015</ExRate_Type>
<!--Optional:-->
<Page_No>0</Page_No>
<!--Optional:-->
<Page_Size>0</Page_Size>
<!--Optional:-->
<Period>20210607</Period>
<!--Optional:-->
<Target_Curr>CHF</Target_Curr>
<!--Optional:-->
<Valid>Y</Valid>
</urn:ExchangeRateSyncOut>
</soap:Body>
</soap:Envelope>
Sample Response Payload:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<urn:ExchangeRateSyncOutRes xmlns:urn="urn:sap-com:document:sap:rfc:functions">
<Exchange_Rates>
<item>
<ExRate_Type>015</ExRate_Type>
<Base_Curr>AED</Base_Curr>
<Target_Curr>CHF</Target_Curr>
<Period>2021-06-07</Period>
<ExRate>24.59742</ExRate>
<ExRate_Scaling_Factor>100</ExRate_Scaling_Factor>
<Valid>Y</Valid>
<Ex_Last_Exchange>20210605</Ex_Last_Exchange>
</item>
</Exchange_Rates>
<MDMS_Comm_Err>N</MDMS_Comm_Err>
</urn:ExchangeRateSyncOutRes>
</soap:Body>
</soap:Envelope>